<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>违规信息</title>
</head>
<body>
<div>
    <form action="searchLike" method="post">
车牌号<input type="text" name="cNumber" width="100px">
违法开始时间<input type="text" name="tStart"width="100px">
违法结束时间<input type="text" name="tEnd"width="100px">
    <input type="submit" value="查询">
    </form>
    <button style="float: right" hr><a href="add.html">添加违法记录</a></button>
</div><br>

<table border="1" style="border-collapse: collapse">
    <tr><td>序号</td><td>违法时间</td><td>车牌号</td><td>车主姓名</td><td>车主手机号</td><td>违法代码</td>
        <td>违法行为</td><td>违法地点</td><td>罚款</td><td>计分</td><td>状态</td><td>操作</td></tr>
    <tr   th:object="${kd}" th:each="kd:${vehiclelistrecord}">
        <td th:text="*{id}"></td>
        <td th:text="*{Illegaltime}"></td>
        <td th:text="*{numberplate}"></td>
        <td th:text="*{name}"></td>
        <td th:text="*{phone}"></td>
        <td th:text="*{Illegalcode}"></td>
        <td th:text="*{illegalActivities}"></td>
        <td th:text="*{Illegalplace}"></td>
        <td th:text="*{fine}"></td>
        <td th:text="*{Scoring}"></td>
        <td th:text="*{status}"></td>
        <td align="center">
            <input th:if="*{status} == '已处理'" disabled="disabled" type="button" value="编辑"><input th:if="*{status} == '已处理'" disabled="disabled"  type="button" value="处理">
            <input th:if="*{status} == '待处理'" type="button" value="编辑"><input th:if="*{status} == '待处理'"  type="button" value="处理">
        </td>
    </tr>
    <tr><td></td></tr>
</table>

</body>
</html>